package com.bjsdzk.collector.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author pc
 */
@Controller
public class IndexController {

    @GetMapping(value = "/")
    @ResponseBody
    public String defaultPath() {
        return "this is collector-2.0";
    }
}